const routers = [
  {
    name: 'test',
    path: '/test',
    component: () => import('@/view/Empty.vue'),
    redirect: 'testA',
    meta: {
      title: '测试模块',
      icon: 'Odometer',
    },
    children: [
      {
        name: 'testA',
        path: '/test/a',
        meta: {
          title: '测试a',
          icon: 'PieChart',
          keepAlive: true,
        },
        component: () => import('@/view/test/a/index.vue'),
      },
      {
        name: 'testB',
        path: '/test/b',
        meta: {
          title: '测试b',
          icon: 'Message'
        },
        component: () => import('@/view/test/b/index.vue'),
      },
    ]
  }

]
export default routers